# 关闭自动化不然有时候被反爬,比如起点小说:https://www.qidian.com/all/
from selenium import webdriver
from selenium.webdriver.chrome.options import Options
import time

options = Options()
options.add_argument('ignore-certificate-errors')
options.add_argument("--disable-blink-features=AutomationControlled")
options.add_experimental_option('excludeSwitches', ['enable-automation'])
driver = webdriver.Chrome(options=options)
driver.maximize_window()
driver.get('https://www.qidian.com/all/')
time.sleep(50)